﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Controlslib.Toolstrip
{
    [Serializable]
    public class HostableControlEvent : EventArgs
    {
        private object[] m_args;
        private Action m_action;

        public Action Action
        {
            get { return m_action; }
            set { m_action = value; }
        }

        public object[] Args
        {
            get { return m_args; }
            set { m_args = value; }
        }

        public HostableControlEvent(params object[] args)
        {
            m_args = args;   
        }
    }
}
